package c6.e24;
class Dog{
    String eat;
    public <T> void show(T t){
        System.out.println(t);
    }
}

public class e24 {
    public static void main(String[] args) {
    Dog dog = new Dog();
    dog.show("hello");
    dog.show(12);
    dog.show(12.5);
    }
}
